package com.wkk.rabbitmq;


import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 发送者
 * 
 * @author admin
 *
 */
@Component
public class Receiver {

@RabbitListener(queues = "wkk")
	public void process(String msg) {
		System.out.println("receiver:" + msg);

	}

}
